<?php


use Workerman\Worker;

class Client extends Worker
{
    public function __construct($socket_name = '', array $context_option = array())
    {
        parent::__construct($socket_name, $context_option);

        $this->onMessage = [$this, 'onMessage'];
    }

    protected function onMessage(\Workerman\Connection\TcpConnection $connection, $data){
        
    }
}